package com.san.school.mapper;

import com.san.school.entity.StuCourse;
import com.san.school.entity.StuCourseExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * ClassName:StuCourseMapper
 * PackageName:com.san.school.mapper
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/6 18:07
 */


public interface StuCourseMapper {
    long countByExample(StuCourseExample example);

    int deleteByExample(StuCourseExample example);

    int deleteByPrimaryKey(@Param("sid") Integer sid, @Param("courseid") Integer courseid, @Param("tid") Integer tid);

    int insert(StuCourse record);

    int insertSelective(StuCourse record);

    List<StuCourse> selectByExample(StuCourseExample example);

    StuCourse selectByPrimaryKey(@Param("sid") Integer sid, @Param("courseid") Integer courseid, @Param("tid") Integer tid);

    int updateByExampleSelective(@Param("record") StuCourse record, @Param("example") StuCourseExample example);

    int updateByExample(@Param("record") StuCourse record, @Param("example") StuCourseExample example);

    int updateByPrimaryKeySelective(StuCourse record);

    int updateByPrimaryKey(StuCourse record);
}